<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=2">
<meta name="theme-color" content="#222">
<meta name="generator" content="Hexo 5.4.2">
  <link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon-next.png">
  <link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32-next.png">
  <link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16-next.png">
  <link rel="mask-icon" href="/images/logo.svg" color="#222">

<link rel="stylesheet" href="/css/main.css">


<link rel="stylesheet" href="/lib/font-awesome/css/all.min.css">

<script id="hexo-configurations">
    var NexT = window.NexT || {};
    var CONFIG = {"hostname":"wrr123.github.io","root":"/","scheme":"Muse","version":"7.8.0","exturl":false,"sidebar":{"position":"left","display":"post","padding":18,"offset":12,"onmobile":false},"copycode":{"enable":false,"show_result":false,"style":null},"back2top":{"enable":true,"sidebar":false,"scrollpercent":false},"bookmark":{"enable":false,"color":"#222","save":"auto"},"fancybox":false,"mediumzoom":false,"lazyload":false,"pangu":false,"comments":{"style":"tabs","active":null,"storage":true,"lazyload":false,"nav":null},"algolia":{"hits":{"per_page":10},"labels":{"input_placeholder":"Search for Posts","hits_empty":"We didn't find any results for the search: ${query}","hits_stats":"${hits} results found in ${time} ms"}},"localsearch":{"enable":true,"trigger":"auto","top_n_per_article":1,"unescape":false,"preload":false},"motion":{"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"slideDownIn","post_body":"slideDownIn","coll_header":"slideLeftIn","sidebar":"slideUpIn"}},"path":"search.json"};
  </script>

  <meta name="description" content="名字task - 一款命令行的 todo 任务管理软件 命令task 过滤符 子命令 [&lt;mods&gt;|&lt;args&gt;] &#x2F;&#x2F; 调用 task 子命令 描述 taskwarrior是一个命令行式的任务列表管理软件。它可以维持一个你的任务列表，允许你添加&#x2F;删除&#x2F;修改任务。它具有丰富的子命令，可以做你想不到的事情。当然，在底层，它是一个任务列表排程程序。你添加文字任务和关于任务的描">
<meta property="og:type" content="article">
<meta property="og:title" content="taskwarrior命令行基本使用">
<meta property="og:url" content="https://wrr123.github.io/2020/10/10/taskwarrior%E5%91%BD%E4%BB%A4%E8%A1%8C%E5%9F%BA%E6%9C%AC%E4%BD%BF%E7%94%A8/index.html">
<meta property="og:site_name" content="一缕烟气">
<meta property="og:description" content="名字task - 一款命令行的 todo 任务管理软件 命令task 过滤符 子命令 [&lt;mods&gt;|&lt;args&gt;] &#x2F;&#x2F; 调用 task 子命令 描述 taskwarrior是一个命令行式的任务列表管理软件。它可以维持一个你的任务列表，允许你添加&#x2F;删除&#x2F;修改任务。它具有丰富的子命令，可以做你想不到的事情。当然，在底层，它是一个任务列表排程程序。你添加文字任务和关于任务的描">
<meta property="og:locale" content="zh_CN">
<meta property="article:published_time" content="2020-10-10T08:03:25.000Z">
<meta property="article:modified_time" content="2022-02-18T02:52:04.522Z">
<meta property="article:author" content="田园隐士">
<meta property="article:tag" content="工具">
<meta name="twitter:card" content="summary">

<link rel="canonical" href="https://wrr123.github.io/2020/10/10/taskwarrior%E5%91%BD%E4%BB%A4%E8%A1%8C%E5%9F%BA%E6%9C%AC%E4%BD%BF%E7%94%A8/">


<script id="page-configurations">
  // https://hexo.io/docs/variables.html
  CONFIG.page = {
    sidebar: "",
    isHome : false,
    isPost : true,
    lang   : 'zh-CN'
  };
</script>

  <title>taskwarrior命令行基本使用 | 一缕烟气</title>
  






  <noscript>
  <style>
  .use-motion .brand,
  .use-motion .menu-item,
  .sidebar-inner,
  .use-motion .post-block,
  .use-motion .pagination,
  .use-motion .comments,
  .use-motion .post-header,
  .use-motion .post-body,
  .use-motion .collection-header { opacity: initial; }

  .use-motion .site-title,
  .use-motion .site-subtitle {
    opacity: initial;
    top: initial;
  }

  .use-motion .logo-line-before i { left: initial; }
  .use-motion .logo-line-after i { right: initial; }
  </style>
</noscript>

<link rel="alternate" href="/atom.xml" title="一缕烟气" type="application/atom+xml">
</head>

<body itemscope itemtype="http://schema.org/WebPage">
  <div class="container use-motion">
    <div class="headband"></div>

    <header class="header" itemscope itemtype="http://schema.org/WPHeader">
      <div class="header-inner"><div class="site-brand-container">
  <div class="site-nav-toggle">
    <div class="toggle" aria-label="切换导航栏">
      <span class="toggle-line toggle-line-first"></span>
      <span class="toggle-line toggle-line-middle"></span>
      <span class="toggle-line toggle-line-last"></span>
    </div>
  </div>

  <div class="site-meta">

    <a href="/" class="brand" rel="start">
      <span class="logo-line-before"><i></i></span>
      <h1 class="site-title">一缕烟气</h1>
      <span class="logo-line-after"><i></i></span>
    </a>
      <p class="site-subtitle" itemprop="description">沧海月明珠有泪，蓝田日暖玉生烟</p>
  </div>

  <div class="site-nav-right">
    <div class="toggle popup-trigger">
        <i class="fa fa-search fa-fw fa-lg"></i>
    </div>
  </div>
</div>




<nav class="site-nav">
  <ul id="menu" class="main-menu menu">
        <li class="menu-item menu-item-home">

    <a href="/" rel="section"><i class="fa fa-home fa-fw"></i>首页</a>

  </li>
        <li class="menu-item menu-item-archives">

    <a href="/archives/" rel="section"><i class="fa fa-archive fa-fw"></i>归档</a>

  </li>
      <li class="menu-item menu-item-search">
        <a role="button" class="popup-trigger"><i class="fa fa-search fa-fw"></i>搜索
        </a>
      </li>
  </ul>
</nav>



  <div class="search-pop-overlay">
    <div class="popup search-popup">
        <div class="search-header">
  <span class="search-icon">
    <i class="fa fa-search"></i>
  </span>
  <div class="search-input-container">
    <input autocomplete="off" autocapitalize="off"
           placeholder="搜索..." spellcheck="false"
           type="search" class="search-input">
  </div>
  <span class="popup-btn-close">
    <i class="fa fa-times-circle"></i>
  </span>
</div>
<div id="search-result">
  <div id="no-result">
    <i class="fa fa-spinner fa-pulse fa-5x fa-fw"></i>
  </div>
</div>

    </div>
  </div>

</div>
    </header>

    
  <div class="back-to-top">
    <i class="fa fa-arrow-up"></i>
    <span>0%</span>
  </div>


    <main class="main">
      <div class="main-inner">
        <div class="content-wrap">
          

          <div class="content post posts-expand">
            

    
  
  
  <article itemscope itemtype="http://schema.org/Article" class="post-block" lang="zh-CN">
    <link itemprop="mainEntityOfPage" href="https://wrr123.github.io/2020/10/10/taskwarrior%E5%91%BD%E4%BB%A4%E8%A1%8C%E5%9F%BA%E6%9C%AC%E4%BD%BF%E7%94%A8/">

    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
      <meta itemprop="image" content="/images/avatar.gif">
      <meta itemprop="name" content="田园隐士">
      <meta itemprop="description" content="talk is cheap, show me the code">
    </span>

    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="一缕烟气">
    </span>
      <header class="post-header">
        <h1 class="post-title" itemprop="name headline">
          taskwarrior命令行基本使用
        </h1>

        <div class="post-meta">
            <span class="post-meta-item">
              <span class="post-meta-item-icon">
                <i class="far fa-calendar"></i>
              </span>
              <span class="post-meta-item-text">发表于</span>

              <time title="创建时间：2020-10-10 16:03:25" itemprop="dateCreated datePublished" datetime="2020-10-10T16:03:25+08:00">2020-10-10</time>
            </span>
              <span class="post-meta-item">
                <span class="post-meta-item-icon">
                  <i class="far fa-calendar-check"></i>
                </span>
                <span class="post-meta-item-text">更新于</span>
                <time title="修改时间：2022-02-18 10:52:04" itemprop="dateModified" datetime="2022-02-18T10:52:04+08:00">2022-02-18</time>
              </span>

          
            <span class="post-meta-item" title="阅读次数" id="busuanzi_container_page_pv" style="display: none;">
              <span class="post-meta-item-icon">
                <i class="fa fa-eye"></i>
              </span>
              <span class="post-meta-item-text">阅读次数：</span>
              <span id="busuanzi_value_page_pv"></span>
            </span><br>
            <span class="post-meta-item" title="本文字数">
              <span class="post-meta-item-icon">
                <i class="far fa-file-word"></i>
              </span>
                <span class="post-meta-item-text">本文字数：</span>
              <span>3.5k</span>
            </span>
            <span class="post-meta-item" title="阅读时长">
              <span class="post-meta-item-icon">
                <i class="far fa-clock"></i>
              </span>
                <span class="post-meta-item-text">阅读时长 &asymp;</span>
              <span>3 分钟</span>
            </span>

        </div>
      </header>

    
    
    
    <div class="post-body" itemprop="articleBody">

      
        <h4 id="名字"><a href="#名字" class="headerlink" title="名字"></a>名字</h4><p><code>task - 一款命令行的 todo 任务管理软件</code></p>
<h4 id="命令"><a href="#命令" class="headerlink" title="命令"></a>命令</h4><p><code>task 过滤符 子命令 [&lt;mods&gt;|&lt;args&gt;] // 调用 task 子命令</code></p>
<h4 id="描述"><a href="#描述" class="headerlink" title="描述"></a>描述</h4><blockquote>
<p>taskwarrior是一个命令行式的任务列表管理软件。它可以维持一个你的任务列表，允许你添加/删除/修改任务。它具有丰富的子命令，可以做你想不到的事情。当然，在底层，它是一个任务列表排程程序。你添加文字任务和关于任务的描述，当你用日期来排列时它就是一个日程表，当你用优先级排列时，它就是你的做事顺序。你还可以添加标签，项目组，方便你管理你的这些任务。</p>
</blockquote>
<h4 id="过滤符（filter）"><a href="#过滤符（filter）" class="headerlink" title="过滤符（filter）"></a>过滤符（filter）</h4><blockquote>
<p>过滤符号由0或多个查找特征组成，用来选择你想要查看或修改的任务，例如，列出所有<code>Home</code>项目下的任务</p>
<p><code>task project:Home list  // list是一个子命令，列出tasks</code></p>
<p>你可以指定多个过滤符号</p>
<p><code>task project:Home +weekend graden list</code></p>
<p>该例中，有三个过滤符： <code>Home</code>项目，weekend标签，还有描述中必须包含<code>garden</code>。当然也可以理解为：</p>
<p><code>description.contains:garden</code></p>
</blockquote>
<span id="more"></span>
<p>修改内容</p>
<p>修改内容可以由 0 个或多个修改组成，如下：</p>
<figure class="highlight sh"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br></pre></td><td class="code"><pre><span class="line">task 过滤符 子命令 project:Home</span><br><span class="line">task 过滤符 子命令 +weekend +garden due:tomorrow</span><br><span class="line">task 过滤符 子命令 Description/annotation text</span><br><span class="line">task 过滤符 子命令 /from/to/</span><br></pre></td></tr></table></figure>
<h4 id="子命令"><a href="#子命令" class="headerlink" title="子命令"></a>子命令</h4><blockquote>
<p>taskwarrior支持很多子命令，包含 读命令，写命令，杂项命令 和 脚本帮助命令。读命令不允许修改task，写命令对命令进行修改，脚本帮助命令帮助你写附加的脚本，例如shell的自动补全等。</p>
</blockquote>
<h5 id="读子命令"><a href="#读子命令" class="headerlink" title="读子命令"></a>读子命令</h5><blockquote>
<p>reports是读子命令。输出和其它一些行为可以在配置文件里面配置，也有一些读子命令不是关于reports的。</p>
</blockquote>
<figure class="highlight sh"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br><span class="line">21</span><br><span class="line">22</span><br><span class="line">23</span><br><span class="line">24</span><br><span class="line">25</span><br><span class="line">26</span><br><span class="line">27</span><br><span class="line">28</span><br><span class="line">29</span><br><span class="line">30</span><br><span class="line">31</span><br><span class="line">32</span><br><span class="line">33</span><br><span class="line">34</span><br><span class="line">35</span><br><span class="line">36</span><br><span class="line">37</span><br><span class="line">38</span><br><span class="line">39</span><br><span class="line">40</span><br><span class="line">41</span><br><span class="line">42</span><br><span class="line">43</span><br><span class="line">44</span><br><span class="line">45</span><br><span class="line">46</span><br><span class="line">47</span><br><span class="line">48</span><br><span class="line">49</span><br><span class="line">50</span><br><span class="line">51</span><br><span class="line">52</span><br><span class="line">53</span><br><span class="line">54</span><br><span class="line">55</span><br><span class="line">56</span><br><span class="line">57</span><br><span class="line">58</span><br><span class="line">59</span><br><span class="line">60</span><br><span class="line">61</span><br><span class="line">62</span><br><span class="line">63</span><br><span class="line">64</span><br><span class="line">65</span><br><span class="line">66</span><br><span class="line">67</span><br><span class="line">68</span><br><span class="line">69</span><br><span class="line">70</span><br><span class="line">71</span><br><span class="line">72</span><br></pre></td><td class="code"><pre><span class="line">task --version              // 查看task的版本</span><br><span class="line"></span><br><span class="line">task 过滤符                // 查看满足条件的tasks</span><br><span class="line"></span><br><span class="line">task 过滤符 active         // 查看已经start，正处于激活状态的task</span><br><span class="line"></span><br><span class="line">task 过滤符 all            // 显示满足条件的所有tasks，包括递归task的父task</span><br><span class="line"></span><br><span class="line">task 过滤符 blocked        // 显示那些依赖于其它task的tasks</span><br><span class="line"></span><br><span class="line">task 过滤符 burndown.daily     // 绘制日统计图像</span><br><span class="line"></span><br><span class="line">task 过滤符 burndown.weekly    // 绘制周视图</span><br><span class="line"></span><br><span class="line">task 过滤符 burndown.monthly   // 绘制月视图</span><br><span class="line"></span><br><span class="line">task calendar [due|&lt;month&gt; &lt;year&gt; | &lt;year&gt;] [y] </span><br><span class="line">// 尖括号包含的内容替换成相应的量，显示一个月的日历,如果给出年，则显示一年的，如2014，如果给出年月，如`2 2014`则会从2014年2月份开始的几个月的日历。如果是due，则会显示预期最早的task。</span><br><span class="line"></span><br><span class="line">task colors [sample | legend]   // 显示支持的颜色，有简单版和完全版之分</span><br><span class="line"></span><br><span class="line">task columns                // 显示所有列和样式，在导出报表的时候非常有用</span><br><span class="line"></span><br><span class="line">task 过滤符 completed      // 显示已经完成的tasks</span><br><span class="line"></span><br><span class="line">task 过滤符 count          // 计算已经完成的tasks数量</span><br><span class="line"></span><br><span class="line">task 过滤符 <span class="built_in">export</span>         // 将选中的task导出成json格式，可以重定向到某个文件里面</span><br><span class="line"></span><br><span class="line">task 过滤符 ghistory.annual    // 年报表视图,完成情况</span><br><span class="line"></span><br><span class="line">task 过滤符 ghistory.monthly   // 月报表视图</span><br><span class="line"></span><br><span class="line">task <span class="built_in">help</span>   // 获取帮助</span><br><span class="line"></span><br><span class="line">task 过滤符 history.annual     // 年报表</span><br><span class="line"></span><br><span class="line">task 过滤符 history.monthly    // 月报表</span><br><span class="line"></span><br><span class="line">task 过滤符 ids    // 获取被选中项目的<span class="built_in">id</span>序列，如1-3或2，3这样</span><br><span class="line">// 当用在修改特定的task时，它可是十分强大的，例如：</span><br><span class="line">task $(task project:Home ids) modify priority:H</span><br><span class="line">// 对Home project中的task进行修改，都添加一个高优先级,译者测试不成功，并且有点多此一举，不如用下面的：</span><br><span class="line">task project:Home modify priority:H</span><br><span class="line"></span><br><span class="line">task 过滤符 uuids      // 得到uuid的序列，用逗号分割</span><br><span class="line"></span><br><span class="line">task 过滤符 information    // 也写作info，得到选中task的详细信息</span><br><span class="line"></span><br><span class="line">task 过滤符 list       // 得到一个标准的列表，包含一些列</span><br><span class="line"></span><br><span class="line">task 过滤符 <span class="built_in">ls</span>         // 得到一个精简了列的task列表</span><br><span class="line"></span><br><span class="line">task 过滤器 minimal    // 极简列表</span><br><span class="line"></span><br><span class="line">task 过滤符 newest     // 得到最新的tasks</span><br><span class="line"></span><br><span class="line">task 过滤符 next       // 显示最紧急的一批tasks,按照urgency这个计算得来的指标排序</span><br><span class="line"></span><br><span class="line">task 过滤符 ready      // ready的tasks，指没在时间表中，或者已经过期了的</span><br><span class="line"></span><br><span class="line">task 过滤符 oldest     // 最早的tasks,按age排序</span><br><span class="line"></span><br><span class="line">task 过滤符 overdue    // 在超出预期未完成的</span><br><span class="line"></span><br><span class="line">task 过滤符 projects    // 列出所有的projects</span><br><span class="line"></span><br><span class="line">task 过滤符 recurring      // 查找递归</span><br><span class="line"></span><br><span class="line">task 过滤符 unblocked      // 没有依赖性的</span><br><span class="line"></span><br><span class="line">task 过滤符 waitting       // 显示正在等待的tasks,和顺序有关</span><br></pre></td></tr></table></figure>
<h5 id="写子命令"><a href="#写子命令" class="headerlink" title="写子命令"></a>写子命令</h5><figure class="highlight sh"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br><span class="line">21</span><br><span class="line">22</span><br><span class="line">23</span><br><span class="line">24</span><br><span class="line">25</span><br><span class="line">26</span><br><span class="line">27</span><br><span class="line">28</span><br><span class="line">29</span><br><span class="line">30</span><br><span class="line">31</span><br><span class="line">32</span><br><span class="line">33</span><br><span class="line">34</span><br><span class="line">35</span><br><span class="line">36</span><br><span class="line">37</span><br></pre></td><td class="code"><pre><span class="line">task add 内容 // 添加一个任务到列表</span><br><span class="line"></span><br><span class="line">task 过滤符 annotate 操作内容    // 为task添加注释</span><br><span class="line"></span><br><span class="line">task 过滤符 append 内容          // 追加文本到已经存在的task尾部</span><br><span class="line"></span><br><span class="line">task 过滤器 delete 操作内容      // 删除满足条件的task</span><br><span class="line"></span><br><span class="line">task 过滤符 denotate 操作内容    // 当内容和task原有的notate相符时，则删除notate</span><br><span class="line"></span><br><span class="line">task 过滤符 <span class="keyword">done</span> 操作内容        // 将task标记为已经完成</span><br><span class="line"></span><br><span class="line">task 过滤符 duplicate 操作内容 // 复制原有的task,并可以修改,如有操作内容是作为notation</span><br><span class="line"></span><br><span class="line">task import &amp;lt;文件1&amp;gt; [&amp;lt;文件2&amp;gt;]   // 从文件中导入tasks</span><br><span class="line"></span><br><span class="line">task <span class="built_in">log</span> 操作内容     // 添加一个新的但是已经完成了的任务,等于做记录</span><br><span class="line"></span><br><span class="line">task merge &lt;url&gt;    // 远程合并task数据库，如</span><br><span class="line">ssh://[user@]host.xz[:port]/path/to/.task/</span><br><span class="line">rsync://[user@]host.xz[:port]/path/to/.task/</span><br><span class="line">[user@]host.xz:path/to/.task/</span><br><span class="line">/path/to/local/.task/</span><br><span class="line"></span><br><span class="line">你甚至可以在.taskrc配置文件中对常用的url进行别名设置。</span><br><span class="line"></span><br><span class="line">task 过滤符 modify 操作内容    // 修改现有的tasks，操作可以有添加标签，修改project，优先级等</span><br><span class="line"></span><br><span class="line">task 过滤符 prepend 操作内容   // 为task添加文字到头部</span><br><span class="line"></span><br><span class="line">task pull &lt;url&gt;     // 拉取远程的数据覆盖本地数据库</span><br><span class="line"></span><br><span class="line">task push &lt;url&gt;     // 推送自己的版本到远程，这和版本库很类似啊，下次你搭建一个服务器，随处都可以访问了</span><br><span class="line"></span><br><span class="line">task 过滤符 start 操作内容   // 标记为开始</span><br><span class="line"></span><br><span class="line">task 过滤符 stop 操作内容   // 移除开始标记，暂停</span><br></pre></td></tr></table></figure>
<h5 id="杂项子命令"><a href="#杂项子命令" class="headerlink" title="杂项子命令"></a>杂项子命令</h5><figure class="highlight sh"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br><span class="line">21</span><br><span class="line">22</span><br><span class="line">23</span><br><span class="line">24</span><br><span class="line">25</span><br></pre></td><td class="code"><pre><span class="line">task config [name [value|<span class="string">&#x27;&#x27;</span>]] // 查看或者修改某项配置</span><br><span class="line"></span><br><span class="line">task diagnostics    // 诊断</span><br><span class="line"></span><br><span class="line">task execute 外部命令`// 执行外部命令</span><br><span class="line"></span><br><span class="line">task logo       // 显示taskwarrior的logo</span><br><span class="line"></span><br><span class="line">task reports    // 列举所有支持的报告项，包括系统报告和用户自定义报告</span><br><span class="line"></span><br><span class="line">task shell      // 进入task的命令行，可以直接list这样运行执行</span><br><span class="line"></span><br><span class="line">task show [all | substring]     // 显示当前设置</span><br><span class="line"></span><br><span class="line">task 过滤符 stats  // 显示统计信息，包括空间及其它状态信息</span><br><span class="line"></span><br><span class="line">task 过滤符 tags   // tags的统计信息</span><br><span class="line"></span><br><span class="line">task 过滤符 projects   // projects的统计信息</span><br><span class="line"></span><br><span class="line">task timesheet [weeks]      // 得到一个周报表，哪些做完了，哪些开始了</span><br><span class="line"></span><br><span class="line">task undo   // 撤销最近的动作</span><br><span class="line"></span><br><span class="line">task version    // 显示版本号的详细信息</span><br></pre></td></tr></table></figure>

    </div>

    
    
    
        

  <div class="followme">
    <p>欢迎关注我的其它发布渠道</p>

    <div class="social-list">

        <div class="social-item">
          <a target="_blank" class="social-link" href="/atom.xml">
            <span class="icon">
              <i class="fa fa-rss"></i>
            </span>

            <span class="label">RSS</span>
          </a>
        </div>
    </div>
  </div>


      <footer class="post-footer">
          <div class="post-tags">
              <a href="/tags/%E5%B7%A5%E5%85%B7/" rel="tag"># 工具</a>
          </div>

        


        
    <div class="post-nav">
      <div class="post-nav-item">
    <a href="/2020/10/10/mac%E4%B8%8B%E5%B8%B8%E7%94%A8%E7%9A%84%E5%91%BD%E4%BB%A4%E8%A1%8C%E5%B7%A5%E5%85%B7/" rel="prev" title="mac下常用的命令行工具">
      <i class="fa fa-chevron-left"></i> mac下常用的命令行工具
    </a></div>
      <div class="post-nav-item">
    <a href="/2020/10/12/java%E5%85%B3%E9%94%AE%E5%AD%97%E7%94%A8%E6%B3%95/" rel="next" title="java关键字用法">
      java关键字用法 <i class="fa fa-chevron-right"></i>
    </a></div>
    </div>
      </footer>
    
  </article>
  
  
  



          </div>
          

<script>
  window.addEventListener('tabs:register', () => {
    let { activeClass } = CONFIG.comments;
    if (CONFIG.comments.storage) {
      activeClass = localStorage.getItem('comments_active') || activeClass;
    }
    if (activeClass) {
      let activeTab = document.querySelector(`a[href="#comment-${activeClass}"]`);
      if (activeTab) {
        activeTab.click();
      }
    }
  });
  if (CONFIG.comments.storage) {
    window.addEventListener('tabs:click', event => {
      if (!event.target.matches('.tabs-comment .tab-content .tab-pane')) return;
      let commentClass = event.target.classList[1];
      localStorage.setItem('comments_active', commentClass);
    });
  }
</script>

        </div>
          
  
  <div class="toggle sidebar-toggle">
    <span class="toggle-line toggle-line-first"></span>
    <span class="toggle-line toggle-line-middle"></span>
    <span class="toggle-line toggle-line-last"></span>
  </div>

  <aside class="sidebar">
    <div class="sidebar-inner">

      <ul class="sidebar-nav motion-element">
        <li class="sidebar-nav-toc">
          文章目录
        </li>
        <li class="sidebar-nav-overview">
          站点概览
        </li>
      </ul>

      <!--noindex-->
      <div class="post-toc-wrap sidebar-panel">
          <div class="post-toc motion-element"><ol class="nav"><li class="nav-item nav-level-4"><a class="nav-link" href="#%E5%90%8D%E5%AD%97"><span class="nav-number">1.</span> <span class="nav-text">名字</span></a></li><li class="nav-item nav-level-4"><a class="nav-link" href="#%E5%91%BD%E4%BB%A4"><span class="nav-number">2.</span> <span class="nav-text">命令</span></a></li><li class="nav-item nav-level-4"><a class="nav-link" href="#%E6%8F%8F%E8%BF%B0"><span class="nav-number">3.</span> <span class="nav-text">描述</span></a></li><li class="nav-item nav-level-4"><a class="nav-link" href="#%E8%BF%87%E6%BB%A4%E7%AC%A6%EF%BC%88filter%EF%BC%89"><span class="nav-number">4.</span> <span class="nav-text">过滤符（filter）</span></a></li><li class="nav-item nav-level-4"><a class="nav-link" href="#%E5%AD%90%E5%91%BD%E4%BB%A4"><span class="nav-number">5.</span> <span class="nav-text">子命令</span></a><ol class="nav-child"><li class="nav-item nav-level-5"><a class="nav-link" href="#%E8%AF%BB%E5%AD%90%E5%91%BD%E4%BB%A4"><span class="nav-number">5.1.</span> <span class="nav-text">读子命令</span></a></li><li class="nav-item nav-level-5"><a class="nav-link" href="#%E5%86%99%E5%AD%90%E5%91%BD%E4%BB%A4"><span class="nav-number">5.2.</span> <span class="nav-text">写子命令</span></a></li><li class="nav-item nav-level-5"><a class="nav-link" href="#%E6%9D%82%E9%A1%B9%E5%AD%90%E5%91%BD%E4%BB%A4"><span class="nav-number">5.3.</span> <span class="nav-text">杂项子命令</span></a></li></ol></li></ol></div>
      </div>
      <!--/noindex-->

      <div class="site-overview-wrap sidebar-panel">
        <div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person">
  <p class="site-author-name" itemprop="name">田园隐士</p>
  <div class="site-description" itemprop="description">talk is cheap, show me the code</div>
</div>
<div class="site-state-wrap motion-element">
  <nav class="site-state">
      <div class="site-state-item site-state-posts">
          <a href="/archives/">
        
          <span class="site-state-item-count">347</span>
          <span class="site-state-item-name">日志</span>
        </a>
      </div>
      <div class="site-state-item site-state-categories">
            <a href="/categories/">
        <span class="site-state-item-count">53</span>
        <span class="site-state-item-name">分类</span></a>
      </div>
      <div class="site-state-item site-state-tags">
            <a href="/tags/">
        <span class="site-state-item-count">115</span>
        <span class="site-state-item-name">标签</span></a>
      </div>
  </nav>
</div>



      </div>

    </div>
  </aside>
  <div id="sidebar-dimmer"></div>


      </div>
    </main>

    <footer class="footer">
      <div class="footer-inner">
        

        

<div class="copyright">
  
  &copy; 
  <span itemprop="copyrightYear">2022</span>
  <span class="with-love">
    <i class="fa fa-heart"></i>
  </span>
  <span class="author" itemprop="copyrightHolder">田园隐士</span>
    <span class="post-meta-divider">|</span>
    <span class="post-meta-item-icon">
      <i class="fa fa-chart-area"></i>
    </span>
    <span title="站点总字数">587k</span>
    <span class="post-meta-divider">|</span>
    <span class="post-meta-item-icon">
      <i class="fa fa-coffee"></i>
    </span>
    <span title="站点阅读时长">8:53</span>
</div>
  <div class="powered-by">由 <a href="https://hexo.io/" class="theme-link" rel="noopener" target="_blank">Hexo</a> & <a href="https://muse.theme-next.org/" class="theme-link" rel="noopener" target="_blank">NexT.Muse</a> 强力驱动
  </div>

        
<div class="busuanzi-count">
  <script async src="https://busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script>
    <span class="post-meta-item" id="busuanzi_container_site_uv" style="display: none;">
      <span class="post-meta-item-icon">
        <i class="fa fa-user"></i>
      </span>
      <span class="site-uv" title="总访客量">
        <span id="busuanzi_value_site_uv"></span>
      </span>
    </span>
    <span class="post-meta-divider">|</span>
    <span class="post-meta-item" id="busuanzi_container_site_pv" style="display: none;">
      <span class="post-meta-item-icon">
        <i class="fa fa-eye"></i>
      </span>
      <span class="site-pv" title="总访问量">
        <span id="busuanzi_value_site_pv"></span>
      </span>
    </span>
</div>








      </div>
    </footer>
  </div>

  
  <script src="/lib/anime.min.js"></script>
  <script src="/lib/velocity/velocity.min.js"></script>
  <script src="/lib/velocity/velocity.ui.min.js"></script>

<script src="/js/utils.js"></script>

<script src="/js/motion.js"></script>


<script src="/js/schemes/muse.js"></script>


<script src="/js/next-boot.js"></script>




  




  
<script src="/js/local-search.js"></script>













  

  

  

</body>
</html>
